package com.ssm.pre.dao;

import java.util.List;
import java.util.Map;

public interface WechatAppDao {

	//添加微信公众号的配置信息
	void addWechatAppInfo(Map<String, Object> map)throws Exception;

	//根据ID删除微信公众号的配置信息
	void deleteWechatAppById(Map<String, Object> map)throws Exception;

	//查询所有的微信公众号配置信息
	List<Map<String, Object>> queryWechatAppByList(Map<String, Object> map)throws Exception;

	//根据ID查询一条记录
	Map<String, Object> queryWechatAppById(Map<String, Object> map)throws Exception;

	//根据ID修改一条记录
	void updateWechatAppById(Map<String, Object> map)throws Exception;

	//InitServlet中查询wechatApp信息
	List<Map<String, Object>> queryWechatAppByInit()throws Exception;

}
